package com.yanqu.road.entity.enums;

/**
 * @author ：zfr
 * @date ：2021/10/9 14:47
 */
public enum eNewRechargeActivityType {
    /**
     * 每日特惠
     */
    DailyDiscounts(1),
    /**
     * 财神赠礼
     */
    WealthGodGifts(2),
    /**
     * 开服豪礼
     */

    ServerOpenGifts(3),
    ;
    private int intValue;

    eNewRechargeActivityType(int value) {
        intValue = value;
    }

    public int getValue() {
        return intValue;
    }

    public static eNewRechargeActivityType forValue(int value) {
        for (eNewRechargeActivityType type : eNewRechargeActivityType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
